package cn.jeeweb.web.modules.equipment.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.jeeweb.common.annotate.UiPropertyField;
import cn.jeeweb.common.flag.ObjectMark;
import cn.jeeweb.common.mvc.entity.DataEntity;
import cn.jeeweb.web.modules.sys.entity.FileResponse;
import cn.jeeweb.web.modules.sys.entity.Organization;
import cn.xjzn.framework_Core.ControlType;
import cn.xjzn.framework_Core.ModuleServe;
import cn.xjzn.framework_Core.StaticControl;
import com.baomidou.mybatisplus.annotations.TableField;

import java.util.Date;
import java.util.List;

/**
 * 工装bean
 */
public class EqsFixture extends DataEntity<String> implements ObjectMark {

    @TableField(value = "code")
    @Excel(name = "工装编号", orderNum = "0", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "code",codeConfig = "FIXTUREAUTOCODE",labelText="工装编号",displayPosition =1)
    private String code;
    @TableField(value = "locationCode")
    @Excel(name = "位置编号", orderNum = "1", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "locationCode",labelText="位置编号",displayPosition =1)
    private String locationCode;
    @TableField(value = "qualityCode")
    @Excel(name = "质检报告编码", orderNum = "1", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "qualityCode",labelText="质检报告编码",displayPosition =1,isDisplayAsSearchResult = false)
    private String qualityCode;
    @TableField(value = "name")
    @Excel(name = "工装名称", orderNum = "2", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "name",labelText="工装名称",displayPosition =2)
    private String name;
    @TableField(value = "fixtureCatalogCode")
    @Excel(name = "工装类别", orderNum = "3", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "fixtureCatalogCode",labelText="工装分类代码",displayPosition =4,controlType = ControlType.DICTSELECTCONTROL,dictCode = "fixtureCatalogCode")
    private String fixtureCatalogCode;
    @TableField(value = "price")
    @Excel(name = "价格", orderNum = "4", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "price",labelText="价格",displayPosition =4)
    private Double price;
    @TableField(value = "importance")
    @Excel(name = "重要性", orderNum = "5", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "importance",labelText="重要性",displayPosition =5)
    private String importance;
    @TableField(value = "minSafeStock")
    @Excel(name = "最低安全库存", orderNum = "6", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "minSafeStock",labelText="最低安全库存",displayPosition =6)
    private Integer minSafeStock;

    @TableField(value = "inLineCount")
    @Excel(name = "在线工装数量", orderNum = "7", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "inLineCount",labelText="在线工装数量",displayPosition =7)
    private Integer inLineCount;
    @TableField(value = "inUseCount")
    @Excel(name = "在用工装数量", orderNum = "8", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "inUseCount",labelText="在用工装数量",displayPosition =8)
    private Integer inUseCount;
    @TableField(value = "inLineSpareCount")
    @Excel(name = "在线备用工装数量", orderNum = "9", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "inLineSpareCount",labelText="在线备用工装数量",displayPosition =9)
    private Integer inLineSpareCount;
    @TableField(value = "warehouseCount")
    @Excel(name = "仓库工装数量", orderNum = "10", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "warehouseCount",labelText="仓库工装数量",displayPosition =10)
    private Integer warehouseCount;
    @TableField(value = "repairCount")
    @Excel(name = "报修工装数量", orderNum = "10", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "repairCount",labelText="报修工装数量",displayPosition =10)
    private Integer repairCount;
    @TableField(value = "fixtureStatus")
    @Excel(name = "工装状态", orderNum = "11", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "fixtureStatus",labelText="工装状态",displayPosition =11,controlType = ControlType.DICTSELECTCONTROL,dictCode = "fixtureStatus")
    private String fixtureStatus;
    @TableField(value = "checkFreq")
    @Excel(name = "验证周期", orderNum = "12", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "checkFreq",labelText="验证周期",displayPosition =12,controlType = ControlType.DICTSELECTCONTROL,dictCode = "checkFreq")
    private String checkFreq;
    @TableField(value = "paperFile")
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "paperFile",labelText="图纸附件",displayPosition =13)
    private String paperFile;
    @TableField(value = "secCode")
    @Excel(name = "财务编号", orderNum = "14", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "secCode",labelText="财务编号",displayPosition =14)
    private String secCode;

    @TableField(value = "kindCode")
    @Excel(name = "资产分类代码", orderNum = "15", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "kindCode",labelText="资产分类代码",displayPosition =15,controlType = ControlType.DICTSELECTCONTROL,dictCode = "AssetsClass")
    private String kindCode;
    @TableField(value = "brand")
    @Excel(name = "品牌", orderNum = "16", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "brand",labelText="品牌",displayPosition =16)
    private String brand;
    @TableField(value = "model")
    @Excel(name = "规格型号", orderNum = "17", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "model",labelText="规格型号",displayPosition =17)
    private String model;
    @TableField(value = "otherProp")
    @Excel(name = "其它属性", orderNum = "18", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "otherProp",labelText="其它属性",displayPosition =18)
    private String otherProp;
    @TableField(value = "fac")
    @Excel(name = "生产商", orderNum = "19", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "fac",labelText="生产商",displayPosition =19)
    private String fac;
    @TableField(value = "acc")
    @Excel(name = "供应商", orderNum = "8", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "acc",labelText="供应商",displayPosition =19)
    private String acc;

    @TableField(value = "stockDate")
    @Excel(name = "采购日期", orderNum = "20", width = 30.0D ,exportFormat = "yyyy-MM-dd HH:mm:ss",databaseFormat="yyyy-MM-dd HH:mm:ss")
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "stockDate",labelText="采购日期",displayPosition =20,staticControl = StaticControl.DATESTATICCONTROL)
    private Date stockDate;
    @TableField(value = "devDate")
    @Excel(name = "生产日期", orderNum = "21", width = 30.0D ,exportFormat = "yyyy-MM-dd HH:mm:ss",databaseFormat="yyyy-MM-dd HH:mm:ss")
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "devDate",labelText="生产日期",displayPosition =21,staticControl = StaticControl.DATESTATICCONTROL)
    private Date devDate;
    @TableField(value = "organizationId")
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName="id",aliasName = "organizationId",labelText="机构id",ownerPropertyName = "organization",isReference = 1,referenceModuleId =ModuleServe.organizationModule,displayPosition =22)
    private String organizationId;
    @TableField(value = "chargeby")
    @Excel(name = "责任人", orderNum = "23", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "chargeby",labelText="责任人",displayPosition =23)
    private String chargeby;
    @TableField(value = "devUseman")
    @Excel(name = "使用人", orderNum = "24", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "devUseman",labelText="使用人",displayPosition =24)
    private String devUseman;
    @TableField(value = "arDate")
    @Excel(name = "建档日期", orderNum = "25", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "arDate",labelText="建档日期",displayPosition =25,staticControl = StaticControl.DATESTATICCONTROL)
    private Date arDate;
    @TableField(value = "buyContract")
    @Excel(name = "合同号", orderNum = "26", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "buyContract",labelText="合同号",displayPosition =26)
    private String buyContract;
    @TableField(value = "buyPrs")
    @Excel(name = "购买人", orderNum = "27", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "buyPrs",labelText="购买人",displayPosition =27)
    private String buyPrs;
    @TableField(value = "devUse")
    @Excel(name = "用途", orderNum = "28", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "devUse",labelText="用途",displayPosition =28)
    private String devUse;
    @TableField(value = "devSource")
    @Excel(name = "设备来源", orderNum = "29", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "devSource",labelText="设备来源",displayPosition =29)
    private String devSource;
    @TableField(value = "totalfee")
    @Excel(name = "原值", orderNum = "30", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "totalfee",labelText="原值",displayPosition =30)
    private String totalfee;
    @TableField(value = "depreType")
    @Excel(name = "折旧方法", orderNum = "31", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "depreType",labelText="折旧方法",displayPosition =31)
    private String depreType;
    @TableField(value = "salvageValueRate")
    @Excel(name = "预计净残值率", orderNum = "32", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "salvageValueRate",labelText="预计净残值率",displayPosition =32)
    private String salvageValueRate;
    @TableField(value = "preDepreciationMoon")
    @Excel(name = "预计使用月份", orderNum = "33", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "preDepreciationMoon",labelText="预计使用月份",displayPosition =33)
    private String preDepreciationMoon;
    @TableField(value = "maintenEndDate")
    @Excel(name = "维修截止日期", orderNum = "34", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "maintenEndDate",labelText="维修截止日期",displayPosition =43,staticControl = StaticControl.DATESTATICCONTROL)
    private Date maintenEndDate;
    @TableField(value = "rejectEndDate")
    @Excel(name = "报废截止日期", orderNum = "35", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "rejectEndDate",labelText="报废截止日期",displayPosition =35,staticControl = StaticControl.DATESTATICCONTROL)
    private Date rejectEndDate;
    @TableField(value = "devStatus")
    @Excel(name = "资产状态", orderNum = "36", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "devStatus",labelText="资产状态",displayPosition =36)
    private String devStatus;
    @TableField(value = "isDiscard")
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "isDiscard",labelText="是否已销账",displayPosition =37)
    private String isDiscard;
    @TableField(value = "discardDate")
    @Excel(name = "销账日期", orderNum = "38", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "discardDate",labelText="销账日期",displayPosition =38,staticControl = StaticControl.DATESTATICCONTROL)
    private Date discardDate;
    @TableField(value = "discardType")
    @Excel(name = "销账类型", orderNum = "39", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "discardType",labelText="销账类型",displayPosition =39)
    private String discardType;
    @TableField(value = "currencyKind")
    @Excel(name = "货币种类", orderNum = "40", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "currencyKind",labelText="货币种类",displayPosition =40)
    private String currencyKind;
    @TableField(value = "costCenter")
    @Excel(name = "所属成本中心", orderNum = "41", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "costCenter",labelText="所属成本中心",displayPosition =41)
    private String costCenter;
    @TableField(value = "assetAttributes")
    @Excel(name = "资产属性", orderNum = "42", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "assetAttributes",labelText="资产属性",displayPosition =42)
    private String assetAttributes;
    @TableField(value = "isSpecial")
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "isSpecial",labelText="是否特殊设备",displayPosition =43,controlType = ControlType.DICTSELECTCONTROL,dictCode = "sf")
    private String isSpecial;


    @TableField(value = "checkContent")
    @UiPropertyField(moduleId = ModuleServe.eqsFixtureModule,propertyName = "checkContent",labelText="验证内容",displayPosition =44)
    private String checkContent;

    @TableField(exist = false)
    private Organization organization;

    @TableField(exist = false)
    private List<FileResponse> paperFileArray;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getLocationCode() {
        return locationCode;
    }

    public void setLocationCode(String locationCode) {
        this.locationCode = locationCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFixtureCatalogCode() {
        return fixtureCatalogCode;
    }

    public void setFixtureCatalogCode(String fixtureCatalogCode) {
        this.fixtureCatalogCode = fixtureCatalogCode;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getImportance() {
        return importance;
    }

    public void setImportance(String importance) {
        this.importance = importance;
    }

    public Integer getMinSafeStock() {
        return minSafeStock;
    }

    public void setMinSafeStock(Integer minSafeStock) {
        this.minSafeStock = minSafeStock;
    }

    public Integer getInLineCount() {
        return inLineCount;
    }

    public void setInLineCount(Integer inLineCount) {
        this.inLineCount = inLineCount;
    }

    public Integer getInUseCount() {
        return inUseCount;
    }

    public void setInUseCount(Integer inUseCount) {
        this.inUseCount = inUseCount;
    }

    public Integer getInLineSpareCount() {
        return inLineSpareCount;
    }

    public void setInLineSpareCount(Integer inLineSpareCount) {
        this.inLineSpareCount = inLineSpareCount;
    }

    public Integer getWarehouseCount() {
        return warehouseCount;
    }

    public void setWarehouseCount(Integer warehouseCount) {
        this.warehouseCount = warehouseCount;
    }

    public String getFixtureStatus() {
        return fixtureStatus;
    }

    public void setFixtureStatus(String fixtureStatus) {
        this.fixtureStatus = fixtureStatus;
    }

    public String getCheckFreq() {
        return checkFreq;
    }

    public void setCheckFreq(String checkFreq) {
        this.checkFreq = checkFreq;
    }

    public String getPaperFile() {
        return paperFile;
    }

    public void setPaperFile(String paperFile) {
        this.paperFile = paperFile;
    }

    public String getSecCode() {
        return secCode;
    }

    public void setSecCode(String secCode) {
        this.secCode = secCode;
    }

    public String getKindCode() {
        return kindCode;
    }

    public void setKindCode(String kindCode) {
        this.kindCode = kindCode;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getOtherProp() {
        return otherProp;
    }

    public void setOtherProp(String otherProp) {
        this.otherProp = otherProp;
    }

    public String getFac() {
        return fac;
    }

    public void setFac(String fac) {
        this.fac = fac;
    }

    public Date getStockDate() {
        return stockDate;
    }

    public void setStockDate(Date stockDate) {
        this.stockDate = stockDate;
    }

    public Date getDevDate() {
        return devDate;
    }

    public void setDevDate(Date devDate) {
        this.devDate = devDate;
    }

    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    public String getChargeby() {
        return chargeby;
    }

    public void setChargeby(String chargeby) {
        this.chargeby = chargeby;
    }

    public String getDevUseman() {
        return devUseman;
    }

    public void setDevUseman(String devUseman) {
        this.devUseman = devUseman;
    }

    public Date getArDate() {
        return arDate;
    }

    public void setArDate(Date arDate) {
        this.arDate = arDate;
    }

    public String getBuyContract() {
        return buyContract;
    }

    public void setBuyContract(String buyContract) {
        this.buyContract = buyContract;
    }

    public String getBuyPrs() {
        return buyPrs;
    }

    public void setBuyPrs(String buyPrs) {
        this.buyPrs = buyPrs;
    }

    public String getDevUse() {
        return devUse;
    }

    public void setDevUse(String devUse) {
        this.devUse = devUse;
    }

    public String getDevSource() {
        return devSource;
    }

    public void setDevSource(String devSource) {
        this.devSource = devSource;
    }

    public String getTotalfee() {
        return totalfee;
    }

    public void setTotalfee(String totalfee) {
        this.totalfee = totalfee;
    }

    public String getDepreType() {
        return depreType;
    }

    public void setDepreType(String depreType) {
        this.depreType = depreType;
    }

    public String getSalvageValueRate() {
        return salvageValueRate;
    }

    public void setSalvageValueRate(String salvageValueRate) {
        this.salvageValueRate = salvageValueRate;
    }

    public String getPreDepreciationMoon() {
        return preDepreciationMoon;
    }

    public void setPreDepreciationMoon(String preDepreciationMoon) {
        this.preDepreciationMoon = preDepreciationMoon;
    }

    public Date getMaintenEndDate() {
        return maintenEndDate;
    }

    public void setMaintenEndDate(Date maintenEndDate) {
        this.maintenEndDate = maintenEndDate;
    }

    public Date getRejectEndDate() {
        return rejectEndDate;
    }

    public void setRejectEndDate(Date rejectEndDate) {
        this.rejectEndDate = rejectEndDate;
    }

    public String getDevStatus() {
        return devStatus;
    }

    public void setDevStatus(String devStatus) {
        this.devStatus = devStatus;
    }

    public String getIsDiscard() {
        return isDiscard;
    }

    public void setIsDiscard(String isDiscard) {
        this.isDiscard = isDiscard;
    }

    public Date getDiscardDate() {
        return discardDate;
    }

    public void setDiscardDate(Date discardDate) {
        this.discardDate = discardDate;
    }

    public String getDiscardType() {
        return discardType;
    }

    public void setDiscardType(String discardType) {
        this.discardType = discardType;
    }

    public String getCurrencyKind() {
        return currencyKind;
    }

    public void setCurrencyKind(String currencyKind) {
        this.currencyKind = currencyKind;
    }

    public String getCostCenter() {
        return costCenter;
    }

    public void setCostCenter(String costCenter) {
        this.costCenter = costCenter;
    }

    public String getAssetAttributes() {
        return assetAttributes;
    }

    public void setAssetAttributes(String assetAttributes) {
        this.assetAttributes = assetAttributes;
    }

    public String getIsSpecial() {
        return isSpecial;
    }

    public void setIsSpecial(String isSpecial) {
        this.isSpecial = isSpecial;
    }

    public Organization getOrganization() {
        return organization;
    }

    public void setOrganization(Organization organization) {
        this.organization = organization;
    }

    public String getAcc() {
        return acc;
    }

    public void setAcc(String acc) {
        this.acc = acc;
    }

    public List<FileResponse> getPaperFileArray() {
        return paperFileArray;
    }

    public void setPaperFileArray(List<FileResponse> paperFileArray) {
        this.paperFileArray = paperFileArray;
    }

    public String getQualityCode() {
        return qualityCode;
    }

    public void setQualityCode(String qualityCode) {
        this.qualityCode = qualityCode;
    }

    public Integer getRepairCount() {
        return repairCount;
    }

    public void setRepairCount(Integer repairCount) {
        this.repairCount = repairCount;
    }

    public String getCheckContent() {
        return checkContent;
    }

    public void setCheckContent(String checkContent) {
        this.checkContent = checkContent;
    }
}
